/*
 * @Author: wangc
 * @Date: 2020-08-30 15:23:15
 * @LastEditTime: 2020-08-30 15:24:38
 * @Description: 
 */
package com.example.service.impl;

import java.util.List;

import javax.annotation.Resource;

import com.example.mapper.CustomerMapper;
import com.example.model.Customer;
import com.example.service.CustomerService;

import org.springframework.stereotype.Service;

@Service(value = "CustomerService")
public class CustomerServiceImpl implements CustomerService {
    @Resource
    private CustomerMapper customerMapper;

    @Override
    public List<Customer> getDataByNameKey(String key) {
        return customerMapper.getDataByNameKey(key);
    }
}